package cn.kevinproject.dingtalk_robot.msg;

import com.dingtalk.api.request.OapiRobotSendRequest;
import lombok.Data;

/**
 * @author kevin lau
 */
@Data
public abstract class Message {

    protected String msgType;

    /**
     * 转化为钉钉的请求
     * @return request
     */
    public abstract OapiRobotSendRequest buildRequest();

}
